package com.example.inventoryapp.ui.home

import androidx.lifecycle.ViewModel
import com.example.inventoryapp.data.Item

/**
 * 用于从Room database中获取所有项目的视图模型。
 */
class HomeViewModel: ViewModel() {
    companion object {
        private const val TIMEOUT_MILLIS = 5_000L
    }
}

/**
 * Ui 状态栏用于主屏幕
 */
data class HomeUiState(val itemList: List<Item> = listOf())